package hottargui.domain;

/** IllegalActionException is thrown when an action is attempted on
    the game instance (like move or turnCard) when the game instance
    is not in a state where this action is expected (like moving when
    you are supposed to turn a card on the tribecard deck).

    You should purely throw this exception as a way to signal defects
    in a programming logic.
 */

public class IllegalWithdrawException extends RuntimeException {
	private static final long serialVersionUID = 65431234678898993L;
	public IllegalWithdrawException() {
		super( "You dont have that amount in your treasury");
	}
}
